﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CardLogistics.Model.Purchase
{
    /// <summary>
    /// 付款登记_实体类
    /// </summary>
    [Serializable] 
    public partial class Purchase_Contract_Payinfo
    {
        public Purchase_Contract_Payinfo()
        { }
        #region Model
        private string _id = "sys_guid";
        private string _checkid;
        private string _invoiceno;
        private decimal? _paymoney;
        private DateTime? _paydate;
        private string _paytype;
        private string _attn;
        private string _remark;
        private string _lastupdateuser;
        private DateTime? _lastupdatedate;
     
        private string _PayTypeName;
        private string _CheckNo;

        /// <summary>
        /// 主键
        /// </summary>
        public string ID
        {
            set { _id = value; }
            get { return _id; }
        }

        /// <summary>
        /// 凭证号
        /// </summary>
        public string CheckId
        {
            set { _checkid = value; }
            get { return _checkid; }
        }

        /// <summary>
        /// 发票号
        /// </summary>
        public string INVOICENO
        {
            set { _invoiceno = value; }
            get { return _invoiceno; }
        }
        /// <summary>
        /// 付款金额
        /// </summary>
        public decimal? PAYMONEY
        {
            set { _paymoney = value; }
            get { return _paymoney; }
        }
        /// <summary>
        /// 付款日期
        /// </summary>
        public DateTime? PAYDATE
        {
            set { _paydate = value; }
            get { return _paydate; }
        }
        /// <summary>
        /// 银行转账、支票、汇款、本票、现金
        /// </summary>
        public string PAYTYPE
        {
            set { _paytype = value; }
            get { return _paytype; }
        }
        /// <summary>
        /// 经办人
        /// </summary>
        public string ATTN
        {
            set { _attn = value; }
            get { return _attn; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string REMARK
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 最后修改人
        /// </summary>
        public string LASTUPDATEUSER
        {
            set { _lastupdateuser = value; }
            get { return _lastupdateuser; }
        }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? LASTUPDATEDATE
        {
            set { _lastupdatedate = value; }
            get { return _lastupdatedate; }
        }

        #region 添加便于查询的字段

        /// <summary>
        /// 凭证号
        /// </summary>
        public string CheckNo
        {
            get { return _CheckNo; }
            set { _CheckNo = value; }
        }

        /// <summary>
        /// 付款方式
        /// </summary>
        public string PayTypeName
        {
            get { return _PayTypeName; }
            set { _PayTypeName = value; }
        }
     
        #endregion

        #endregion Model
    }
}
